/**
 * Copyright 2014 wasu.com
 *
 *
 * Create on 2015年12月8日 上午11:34:21
 */
package xiaojian.toolkit.bean.mo;

import xiaojian.toolkit.bean.bytebean.annotation.ByteField;

/**
 * @author <a href="mailto:caoxiaojian@wasu.cn">xiaojiancao</a>
 *
 */
public class ByteBean implements xiaojian.toolkit.bean.bytebean.ByteBean {

	@ByteField(index = 0, fixedLength = 20, bytes = 20)
	private String name = null;

	@ByteField(index = 1, bytes = 4)
	private int age = 0;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

}
